package baiduDemo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/10/10.
 */
public class test {

    public static void main(String[] args) throws Exception {
        String imagePath = "D:\\迅雷下载\\ORL人脸数据库\\s1\\1.bmp";
        String imagePath1 = "D:\\迅雷下载\\ORL人脸数据库\\s1\\5.bmp";
        String imgDtj = "C:\\Users\\Administrator\\Desktop\\opencv\\image\\dtj.jpg";
        String imgDw = "C:\\Users\\Administrator\\Desktop\\facePic1\\l5.png";
        String imgFace = "C:\\Users\\Administrator\\Desktop\\pic1\\7.jpg";
        String personId = "S1";
        List<String> group = new ArrayList<String>();
        group.add("group1");
        BaiduDemo baiduDemo = new BaiduDemo();

//        baiduDemo.registPerson(imagePath, personId, group);
//        baiduDemo.verify(imagePath1, "person2", group);
//        baiduDemo.identify(imgDw, group);
        baiduDemo.detect(imgFace);
    }
}
